﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master"
    Inherits="System.Web.Mvc.ViewPage<MShop.Core.Domain.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    增加商品
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%=Html.Partial("ETTree",ViewData["itemcats"]) %>
    <div id="rightBox">
        <%: Html.ValidationSummary(false) %>
        <div id="formOutBox">
            <div id="formTitle">
                <div class="formTitleCard_c">
                    增加商品</div>
                <div class="formTitlRight">
                    <img src="/Content/back.png" width="16" height="16" border="0" align="middle" style="margin-right: 3px;" />                    
                </div>
            </div>
            <div id="formBox">
                <table width="100%" border="0" cellspacing="0" cellpadding="5" class="formTable">
                    <tr>
                        <td>
                            <p style="text-align: center;">
                                <input type="button" value="马上上传图片" class="btn" onclick="location.href='<%=Url.Action("SwfUpload","Product",new{id=Model.Id}) %>';" />
                                <input type="button" value="继续增加产品" class="btn" onclick="location.href='<%=Url.Action("Create","Product",new{id=Model.CId}) %>';" />
                            </p>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphFooter" runat="server">
</asp:Content>
